x11: Implement drag cancel animation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 Dec 2015 23:28:06 +0000 (18:28 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 13 Dec 2015 20:49:25 +0000 (15:49 -0500)
commit23b2b49321c1b757ba8a9cd77ad121ce789bd8ea
tree63e6fcb44dc2f80c350e44cac3e93931b9b6d0dd
parentc590b83397713c86f099588a9e5de31028f4cc25
x11: Implement drag cancel animation

Showing the drag cancel animation can be done in the X11
drag context implementation now that we hold the drag
window there, and have the start coordinates.

Since we can't control if and when the application destroys
the drag widget, we take a snapshot of the window contents
and display that during the animation. This should be good
enough for all practical purposes.
gdk/x11/gdkdnd-x11.c